package Digraphs
{
    public class Digraph
    {
        private var _key:String;
        private var _value:String;
        
        public function Digraph(key:String, value:String)
        {
            _key = key;
            _value = value;
        }
        
        public function IsMatch(key:String):Boolean {
            return (key == _key);
        }
        
        public function get Value():String {
            return _value;
        }
        
        public function get Key():String {
            return _key;
        }
    }
}
